package com.web.base.log.model;

import com.blue.core.dict.Read;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

import java.util.Date;

/**
 * 消息实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2018年06月20日
 */
@Table(name = "log_message")
public class Message
{
	@Id
	private Integer id; // 编号
	private Integer senderId; // 发送者编号：0表示系统
	private Integer receiverId; // 接收者编号
	private String title; // 消息标题
	private String content; // 消息内容
	private Date createTime; // 创建时间
	private Date readTime; // 阅读时间
	private Read read; // 阅读状态：0未读，1已读
	
	public Message()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Integer getSenderId()
	{
		return this.senderId;
	}
	
	public void setSenderId(Integer senderId)
	{
		this.senderId = senderId;
	}
	
	public Integer getReceiverId()
	{
		return this.receiverId;
	}
	
	public void setReceiverId(Integer receiverId)
	{
		this.receiverId = receiverId;
	}
	
	public String getTitle()
	{
		return this.title;
	}
	
	public void setTitle(String title)
	{
		this.title = title;
	}
	
	public String getContent()
	{
		return this.content;
	}
	
	public void setContent(String content)
	{
		this.content = content;
	}
	
	public Date getCreateTime()
	{
		return this.createTime;
	}
	
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	public Date getReadTime()
	{
		return this.readTime;
	}
	
	public void setReadTime(Date readTime)
	{
		this.readTime = readTime;
	}
	
	public Read getRead()
	{
		return this.read;
	}
	
	public void setRead(Read read)
	{
		this.read = read;
	}
	
}
